package com.cyz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author chenyizhen
 * @email sunlightcs@gmail.com
 * @date 2023-12-18 15:02:10
 */
@Data
@TableName("staff")
public class StaffEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private int id;
	/**
	 *
	 */
	private String name;
	/**
	 *
	 */
	private int jobId;
	/**
	 *
	 */
	private String salary;
	/**
	 *
	 */
	private String tel;

	@TableField(exist = false)
	private String jobName;

}
